import React, { Component } from 'react';
import "./searchInput.scss";
import { withRouter } from "react-router-dom"

class searchInput extends Component {
    handleClick = (params) => {
        this.props.history.push("/search")
    }
    
    render() {
        return (
            <div className="index-search">
                <div className="index-search-con" onClick={this.handleClick}>搜索</div>
            </div>
        );
    }
}

export default withRouter(searchInput);
